package com.explorati.design_pattern.behavior.visitor.example;

/**
 * 抽象元素角色：该角色声明一个接受操作，接受一个访问者对象
 * 
 * @author explorati
 *
 */
public abstract class Hardware {

	String type;

	public Hardware(String type) {
		this.type = type;
	}

	public String getType() {
		return type;
	}

	public abstract void run();

	public abstract void accept(ComputerVisitor computerVisitor);
}
